
const {ccclass, property} = cc._decorator;

@ccclass
export default class NewClass extends cc.Component {


    // LIFE-CYCLE CALLBACKS:

    onLoad () {
        let tool:cc.Node = this.node.getChildByName('tool');
        this.node.on('mousedown', (event) =>{
            tool.getComponent('showTips').repeat();
        })
    }

    start () {

    }

    // update (dt) {}
}
